[INFO] fetching crate as_http_status_code 0.1.0...
[INFO] fixing as_http_status_code-0.1.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate as_http_status_code 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate as_http_status_code 0.1.0
[INFO] finished tweaking crates.io crate as_http_status_code 0.1.0
[INFO] tweaked toml for crates.io crate as_http_status_code 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate as_http_status_code 0.1.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate as_http_status_code 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded as_http_status_code_derive v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea
[INFO] running `Command { std: "docker" "start" "027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling as_http_status_code_derive v0.1.0
[INFO] [stderr]     Checking as_http_status_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `as_http_status_code`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use as_http_status_code::AsStatusCode;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `as_http_status_code`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `as_http_status_code`, use `cargo add as_http_status_code` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[as_status_code(StatusCode::OK)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 15 +     #[derive(AsStatusCode)]
[INFO] [stdout] 16 |     enum Foo {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |         #[as_status_code(StatusCode::NOT_FOUND)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 15 +     #[derive(AsStatusCode)]
[INFO] [stdout] 16 |     enum Foo {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |         #[as_status_code(StatusCode::INTERNAL_SERVER_ERROR)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 15 +     #[derive(AsStatusCode)]
[INFO] [stdout] 16 |     enum Foo {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `as_status_code` in this scope
[INFO] [stdout]   --> src/lib.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     #[as_status_code(StatusCode::OK)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: `as_status_code` is an attribute that can be used by the derive macro `AsStatusCode`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 26 +     #[derive(AsStatusCode)]
[INFO] [stdout] 27 |     struct Bar {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum Foo {
[INFO] [stdout]    |     -------- method `as_status_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |         assert_eq!(Foo::Ok.as_status_code(), StatusCode::OK);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:34:39
[INFO] [stdout]    |
[INFO] [stdout] 15 |     enum Foo {
[INFO] [stdout]    |     -------- method `as_status_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |         assert_eq!(Foo::NotFound(789).as_status_code(), StatusCode::NOT_FOUND);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for enum `Foo` in the current scope
[INFO] [stdout]   --> src/lib.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |       enum Foo {
[INFO] [stdout]    |       -------- method `as_status_code` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 | /             Foo::InternalServerError {
[INFO] [stdout] 38 | |                 message: "msg".to_owned()
[INFO] [stdout] 39 | |             }
[INFO] [stdout] 40 | |             .as_status_code(),
[INFO] [stdout]    | |             -^^^^^^^^^^^^^^ method not found in `Foo`
[INFO] [stdout]    | |_____________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_status_code` found for struct `Bar` in the current scope
[INFO] [stdout]   --> src/lib.rs:44:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |     struct Bar {
[INFO] [stdout]    |     ---------- method `as_status_code` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |         assert_eq!(Bar { _field: () }.as_status_code(), StatusCode::OK);
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^ method not found in `Bar`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AsStatusCode` defines an item `as_status_code`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub trait AsStatusCode {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `as_http_status_code` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea", kill_on_drop: false }`
[INFO] [stdout] 027a2f1bb2996acbb55c4b5e88b0c4fe95c841ec3db8968bb7c9f7bb977e34ea
